package bfgca;
import java.util.*;

public class Arbitrator {
    
  private ArrayList<Player> playerList;
  private Map theMap;
  
  public Arbitrator(){
    this.playerList = new ArrayList<Player>();
    this.theMap = new Map(new ArrayList<StarSystem>());
  }
  
  public boolean collate(){
    
    for(Player p : playerList){
     if(!p.getCommit()){
       return false;
     }
    }    
    for(StarSystem s : theMap.getSystems()){
      for(Vessel v : s.getPresentVessels()){
        //TODO collect info to build a conflict
      }
    }
    return true;
  }
  
  public void collectInput(){
    
  }
  
  public void generateOutput(){
    
  }
}
